<!DOCTYPE HTML>
<html lang="zh">
<head>
<title>Spring Data MongoDB - Spring Data MongoDB | Docs4dev</title>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="MongoDB的Spring Data是Spring Data项目的一部分，该项目旨在为新数据存储提供熟悉且一致的基于Spring的编程模型，同时保留特定于存储的功能。">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta property="og:type" content="website">
<meta property="og:title" content="Spring Data MongoDB - Spring Data MongoDB">
<meta property="og:url" content="https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/">
<meta property="og:site_name" content="Docs4dev">
<meta property="og:locale" content="zh_CN">
<meta name="twitter:card" content="MongoDB的Spring Data是Spring Data项目的一部分，该项目旨在为新数据存储提供熟悉且一致的基于Spring的编程模型，同时保留特定于存储的功能。">
<meta name="generator" content="Docs4dev template engine">
<link rel="stylesheet" href="static/css/app.min.css">
<link rel="shortcut icon" href="https://www.docs4dev.com/static/images/favicon.ico" type="image/x-icon">
<script async="" src="static/js/js.js"></script>
<script async="" src="static/js/adsbygoogle.js" crossorigin="anonymous"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
      dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'UA-129571937-1');
  </script>
<link rel="amphtml" href="https://www.docs4dev.com/amp/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/index.html">

<script type="application/ld+json">{"name":null,"headline":"Spring Data MongoDB-Spring Data MongoDB","inLanguage":"zh-CN","version":"2.2.1.RELEASE","image":"/static/icon/icon-spring-data.png","datePublished":"2021-05-20T12:51:01Z","dateCreated":"2021-05-20T12:51:01Z","dateModified":"2021-07-03T12:24:36Z","@context":"https://schema.org/","@type":"APIReference","abstract":"MongoDB的Spring Data是Spring Data项目的一部分，该项目旨在为新数据存储提供熟悉且一致的基于Spring的编程模型，同时保留特定于存储的功能。"}</script>
</head>
<body>
<div class="book with-summary">
<div class="book-summary">
<div class="logo">
<a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference');" style="color: inherit;">
<img src="static/picture/icon-spring-data.png" style="width: 48px; height: 48px;" alt="Logo">
</a>
<b style="color: inherit; margin-left: 8px;">Spring Data MongoDB</b>
</div>
<div class="item">
<div>
<label for="version">版本</label>
<select id="version" onchange="onVersionChange(this)">
<option value="2.2.1.RELEASE" selected="selected">2.2.1.RELEASE</option>
</select>
</div>
<div style="margin-top: 8px;">
<label for="language">语言</label>
<select id="language" onchange="onLangChange(this)" value="zh">
<option value="en">English</option>
<option value="zh" selected="selected">中文</option>
</select>
</div>

</div>
<div class="item menus">
<a title="Table of Contents" style="margin-right: 8px;" href="#">
<i class="fa fa-chevron-left"></i>
<span style="margin-left: 2px;">返回目录</span>
</a>
</div>
<nav role="navigation" id="navigation">
<ul class="summary">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#preface');" title="Preface"> Preface </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:first-steps:spring');" title="1. Learning Spring"> 1. Learning Spring </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:first-steps:nosql');" title="2. 学习 NoSQL 和文档数据库"> 2. 学习 NoSQL 和文档数据库 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#requirements');" title="3. Requirements"> 3. Requirements </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:help');" title="4. 其他帮助资源"> 4. 其他帮助资源 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:up-to-date');" title="5. Following Development"> 5. Following Development </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features');" title="6. 新的和值得注意的"> 6. 新的和值得注意的 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-2-0');" title="6.1. Spring Data MongoDB 2.2 的新增功能"> 6.1. Spring Data MongoDB 2.2 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-1-0');" title="6.2. Spring Data MongoDB 2.1 的新增功能"> 6.2. Spring Data MongoDB 2.1 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-0-0');" title="6.3. Spring Data MongoDB 2.0 的新增功能"> 6.3. Spring Data MongoDB 2.0 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-10-0');" title="6.4. Spring Data MongoDB 1.10 的新增功能"> 6.4. Spring Data MongoDB 1.10 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-9-0');" title="6.5. Spring Data MongoDB 1.9 的新增功能"> 6.5. Spring Data MongoDB 1.9 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-8-0');" title="6.6. Spring Data MongoDB 1.8 的新增功能"> 6.6. Spring Data MongoDB 1.8 的新增功能 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-7-0');" title="6.7. Spring Data MongoDB 1.7 的新增功能"> 6.7. Spring Data MongoDB 1.7 的新增功能 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies');" title="7. Dependencies"> 7. Dependencies </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies.spring-boot');" title="7.1. Spring Boot 的依赖 Management"> 7.1. Spring Boot 的依赖 Management </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies.spring-framework');" title="7.2. Spring 框架"> 7.2. Spring 框架 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories');" title="8. 使用 Spring 数据存储库"> 8. 使用 Spring 数据存储库 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.core-concepts');" title="8.1. 核心概念"> 8.1. 核心概念 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods');" title="8.2. 查询方法"> 8.2. 查询方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.definition');" title="8.3. 定义存储库接口"> 8.3. 定义存储库接口 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.definition-tuning');" title="8.3.1. 调整存储库定义"> 8.3.1. 调整存储库定义 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.multiple-modules');" title="8.3.2. 将存储库与多个 Spring 数据模块一起使用"> 8.3.2. 将存储库与多个 Spring 数据模块一起使用 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.details');" title="8.4. 定义查询方法"> 8.4. 定义查询方法 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-lookup-strategies');" title="8.4.1. 查询查询策略"> 8.4.1. 查询查询策略 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-creation');" title="8.4.2. 查询创建"> 8.4.2. 查询创建 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-property-expressions');" title="8.4.3. 属性表达式"> 8.4.3. 属性表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.special-parameters');" title="8.4.4. 特殊参数处理"> 8.4.4. 特殊参数处理 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.paging-and-sorting');" title="分页和排序"> 分页和排序 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.limit-query-result');" title="8.4.5. 限制查询结果"> 8.4.5. 限制查询结果 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables');" title="8.4.6. 存储库方法返回集合或可迭代对象"> 8.4.6. 存储库方法返回集合或可迭代对象 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.streamable');" title="使用 Streamable 作为查询方法返回类型"> 使用 Streamable 作为查询方法返回类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.streamable-wrapper');" title="返回自定义流式包装器类型"> 返回自定义流式包装器类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.vavr');" title="支持 Vavr 收藏"> 支持 Vavr 收藏 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability');" title="8.4.7. 存储库方法的空处理"> 8.4.7. 存储库方法的空处理 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability.annotations');" title="Nullability Annotations"> Nullability Annotations </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability.kotlin');" title="基于 Kotlin 的存储库中的可空性"> 基于 Kotlin 的存储库中的可空性 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-streaming');" title="8.4.8. 流式查询结果"> 8.4.8. 流式查询结果 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-async');" title="8.4.9. 异步查询结果"> 8.4.9. 异步查询结果 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances');" title="8.5. 创建存储库实例"> 8.5. 创建存储库实例 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.spring');" title="8.5.1. XML 配置"> 8.5.1. XML 配置 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Using filters"> Using filters </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.java-config');" title="8.5.2. JavaConfig"> 8.5.2. JavaConfig </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.standalone');" title="8.5.3. 独立使用"> 8.5.3. 独立使用 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.custom-implementations');" title="8.6. Spring 数据存储库的定制实现"> 8.6. Spring 数据存储库的定制实现 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.single-repository-behavior');" title="8.6.1. 自定义单个存储库"> 8.6.1. 自定义单个存储库 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Configuration"> Configuration </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.customize-base-repository');" title="8.6.2. 自定义基础存储库"> 8.6.2. 自定义基础存储库 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.domain-events');" title="8.7. 从汇总根发布事件"> 8.7. 从汇总根发布事件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.extensions');" title="8.8. Spring 数据扩展"> 8.8. Spring 数据扩展 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.extensions.querydsl');" title="8.8.1. Querydsl 扩展"> 8.8.1. Querydsl 扩展 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web');" title="8.8.2. 网络支持"> 8.8.2. 网络支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.basic');" title="基本网络支持"> 基本网络支持 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.pageables');" title="超媒体对页面的支持"> 超媒体对页面的支持 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.binding');" title="Web 数据绑定支持"> Web 数据绑定支持 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.type-safe');" title="Querydsl Web 支持"> Querydsl Web 支持 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.repository-populators');" title="8.8.3. 存储库填充器"> 8.8.3. 存储库填充器 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#reference');" title="Reference Documentation"> Reference Documentation </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#introduction');" title="9. Introduction"> 9. Introduction </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="9.1. 文件结构"> 9.1. 文件结构 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.core');" title="10. MongoDB support"> 10. MongoDB support </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-getting-started');" title="10.1. 使用入门"> 10.1. 使用入门 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.examples-repo');" title="10.2. 示例存储库"> 10.2. 示例存储库 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-connectors');" title="10.3. 使用 Spring 连接到 MongoDB"> 10.3. 使用 Spring 连接到 MongoDB </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-java-config');" title="10.3.1. 使用基于 Java 的元数据注册 Mongo 实例"> 10.3.1. 使用基于 Java 的元数据注册 Mongo 实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-xml-config');" title="10.3.2. 使用基于 XML 的元数据注册 Mongo 实例"> 10.3.2. 使用基于 XML 的元数据注册 Mongo 实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory');" title="10.3.3. MongoDbFactory 界面"> 10.3.3. MongoDbFactory 界面 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory-java');" title="10.3.4. 使用基于 Java 的元数据注册 MongoDbFactory 实例"> 10.3.4. 使用基于 Java 的元数据注册 MongoDbFactory 实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory-xml');" title="10.3.5. 使用基于 XML 的元数据注册 MongoDbFactory 实例"> 10.3.5. 使用基于 XML 的元数据注册 MongoDbFactory 实例 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template');" title="10.4. MongoTemplate 简介"> 10.4. MongoTemplate 简介 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.instantiating');" title="10.4.1. 实例化 MongoTemplate"> 10.4.1. 实例化 MongoTemplate </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeresultchecking');" title="10.4.2. WriteResultCheckingPolicy"> 10.4.2. WriteResultCheckingPolicy </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeconcern');" title="10.4.3. WriteConcern"> 10.4.3. WriteConcern </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeconcernresolver');" title="10.4.4. WriteConcernResolver"> 10.4.4. WriteConcernResolver </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-update-remove');" title="10.5. 保存，更新和删除文档"> 10.5. 保存，更新和删除文档 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.id-handling');" title="10.5.1. 如何在 Map 层中处理_id 字段"> 10.5.1. 如何在 Map 层中处理_id 字段 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.type-mapping');" title="10.5.2. 类型 Map"> 10.5.2. 类型 Map </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="自定义类型 Map"> 自定义类型 Map </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="配置自定义类型 Map"> 配置自定义类型 Map </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert');" title="10.5.3. 保存和插入文档的方法"> 10.5.3. 保存和插入文档的方法 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.collection');" title="我的文档保存到哪个收藏集中？"> 我的文档保存到哪个收藏集中？ </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.individual');" title="插入或保存单个对象"> 插入或保存单个对象 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.batch');" title="批量插入多个对象"> 批量插入多个对象 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update');" title="10.5.4. 更新集合中的文档"> 10.5.4. 更新集合中的文档 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update.methods');" title="执行文档更新的方法"> 执行文档更新的方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update.update');" title="Update 类中的方法"> Update 类中的方法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.upserts');" title="10.5.5. 集合中的“上载”文档"> 10.5.5. 集合中的“上载”文档 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.find-and-upsert');" title="10.5.6. 查找和上载集合中的文档"> 10.5.6. 查找和上载集合中的文档 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.find-and-replace');" title="10.5.7. 查找和替换文档"> 10.5.7. 查找和替换文档 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.delete');" title="10.5.8. 删除文件的方法"> 10.5.8. 删除文件的方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.optimistic-locking');" title="10.5.9. 乐观锁定"> 10.5.9. 乐观锁定 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query');" title="10.6. 查询文件"> 10.6. 查询文件 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query');" title="10.6.1. 查询集合中的文档"> 10.6.1. 查询集合中的文档 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query.criteria');" title="条件类的方法"> 条件类的方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query.query');" title="Query 类的方法"> Query 类的方法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.querying');" title="10.6.2. 查询文件的方法"> 10.6.2. 查询文件的方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.query.distinct');" title="10.6.3. 查询不同的值"> 10.6.3. 查询不同的值 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geospatial');" title="10.6.4. 地理空间查询"> 10.6.4. 地理空间查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geo-near');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geo-json');" title="10.6.5. GeoJSON 支持"> 10.6.5. GeoJSON 支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="域类中的 GeoJSON 类型"> 域类中的 GeoJSON 类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="存储库查询方法中的 GeoJSON 类型"> 存储库查询方法中的 GeoJSON 类型 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="度量和距离计算"> 度量和距离计算 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.textsearch');" title="10.6.6. 全文查询"> 10.6.6. 全文查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Full-text Search"> Full-text Search </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.collation');" title="10.6.7. Collations"> 10.6.7. Collations </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jsonSchema');" title="JSON Schema"> JSON Schema </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jsonSchema');" title="10.6.8. JSON 模式"> 10.6.8. JSON 模式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.fluent-template-api');" title="10.6.9. Fluent 模板 API"> 10.6.9. Fluent 模板 API </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.kotlin-support');" title="10.6.10. Kotlin 的类型安全查询"> 10.6.10. Kotlin 的类型安全查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.additional-query-options');" title="10.6.11. 其他查询选项"> 10.6.11. 其他查询选项 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example');" title="10.7. 通过示例查询"> 10.7. 通过示例查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.introduction');" title="10.7.1. Introduction"> 10.7.1. Introduction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.usage');" title="10.7.2. Usage"> 10.7.2. Usage </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.matchers');" title="10.7.3. 匹配器示例"> 10.7.3. 匹配器示例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.execution');" title="10.7.4. 运行示例"> 10.7.4. 运行示例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.untyped');" title="10.7.5. 未 Importing 示例"> 10.7.5. 未 Importing 示例 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mapreduce');" title="10.8. Map-Reduce 操作"> 10.8. Map-Reduce 操作 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mapreduce.example');" title="10.8.1. 示例用法"> 10.8.1. 示例用法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.server-side-scripts');" title="10.9. 脚本操作"> 10.9. 脚本操作 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.group');" title="10.10. 组操作"> 10.10. 组操作 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.group.example');" title="10.10.1. 示例用法"> 10.10.1. 示例用法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation');" title="10.11. 聚合框架支持"> 10.11. 聚合框架支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.basic-concepts');" title="10.11.1. 基本概念"> 10.11.1. 基本概念 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.supported-aggregation-operations');" title="10.11.2. 支持的聚合操作"> 10.11.2. 支持的聚合操作 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.projection');" title="10.11.3. 投影表达式"> 10.11.3. 投影表达式 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.facet');" title="10.11.4. 分面分类"> 10.11.4. 分面分类 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Buckets"> Buckets </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Multi-faceted Aggregation"> Multi-faceted Aggregation </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.sort-by-count');" title="按计数排序"> 按计数排序 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.projection.expressions');" title="投影表达式中的 Spring 表达式支持"> 投影表达式中的 Spring 表达式支持 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.examples');" title="聚合框架示例"> 聚合框架示例 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters');" title="10.11.5. 自定义转化-覆盖默认 Map"> 10.11.5. 自定义转化-覆盖默认 Map </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.writer');" title="使用注册的 Spring Converter 进行保存"> 使用注册的 Spring Converter 进行保存 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.reader');" title="使用 Spring 转换器阅读"> 使用 Spring 转换器阅读 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.xml');" title="在 MongoConverter 中注册 Spring 转换器"> 在 MongoConverter 中注册 Spring 转换器 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.converter-disambiguation');" title="Converter Disambiguation"> Converter Disambiguation </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections');" title="10.12. 索引和 collectionsManagement"> 10.12. 索引和 collectionsManagement </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.index');" title="10.12.1. 创建索引的方法"> 10.12.1. 创建索引的方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.access');" title="10.12.2. 访问索引信息"> 10.12.2. 访问索引信息 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.collection');" title="10.12.3. 处理集合的方法"> 10.12.3. 处理集合的方法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.commands');" title="10.13. 执行命令"> 10.13. 执行命令 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.commands.execution');" title="10.13.1. 执行命令的方法"> 10.13.1. 执行命令的方法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.mapping-usage.events');" title="10.14. 生命周期事件"> 10.14. 生命周期事件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks');" title="10.15. 实体回调"> 10.15. 实体回调 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks.implement');" title="10.15.1. 实施实体回调"> 10.15.1. 实施实体回调 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks.register');" title="10.15.2. 注册实体回调"> 10.15.2. 注册实体回调 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.entity-callbacks');" title="10.15.3. 存储特定的 EntityCallbacks"> 10.15.3. 存储特定的 EntityCallbacks </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.exception');" title="10.16. 异常翻译"> 10.16. 异常翻译 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.executioncallback');" title="10.17. 执行回调"> 10.17. 执行回调 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#gridfs');" title="10.18. GridFS 支持"> 10.18. GridFS 支持 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors');" title="10.19. 带有尾光标的无限流"> 10.19. 带有尾光标的无限流 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors.sync');" title="10.19.1. 具有 MessageListener 的可尾光标"> 10.19.1. 具有 MessageListener 的可尾光标 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors.reactive');" title="10.19.2. 无功可控游标"> 10.19.2. 无功可控游标 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#change-streams');" title="10.20. 更改流"> 10.20. 更改流 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.1. 使用 MessageListener 更改流"> 10.20.1. 使用 MessageListener 更改流 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.2. 反应式变更流"> 10.20.2. 反应式变更流 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.3. 恢复更改流"> 10.20.3. 恢复更改流 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions');" title="11. MongoDB Sessions"> 11. MongoDB Sessions </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions.sync');" title="11.1. 同步 ClientSession 支持."> 11.1. 同步 ClientSession 支持. </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions.reactive');" title="11.2. ReactiveClientSession 支持"> 11.2. ReactiveClientSession 支持 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions');" title="12. MongoDB Transactions"> 12. MongoDB Transactions </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.transaction-template');" title="12.1. 使用 TransactionTemplate 进行的 Transaction"> 12.1. 使用 TransactionTemplate 进行的 Transaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.tx-manager');" title="12.2. MongoTransactionManager 的 Transaction"> 12.2. MongoTransactionManager 的 Transaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive');" title="12.3. ReactiveTransaction"> 12.3. ReactiveTransaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive-operator');" title="12.4. 与 TransactionalOperator 的 Transaction"> 12.4. 与 TransactionalOperator 的 Transaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive-tx-manager');" title="12.5. 使用 ReactiveMongoTransactionManager 进行的 Transaction"> 12.5. 使用 ReactiveMongoTransactionManager 进行的 Transaction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.behavior');" title="12.6. Transaction 中的特殊行为"> 12.6. Transaction 中的特殊行为 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive');" title="13. ReactiveMongoDB 支持"> 13. ReactiveMongoDB 支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-reactive-getting-started');" title="13.1. 使用入门"> 13.1. 使用入门 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.driver');" title="13.2. 使用 Spring 和 Reactive Streams 驱动程序连接到 MongoDB"> 13.2. 使用 Spring 和 Reactive Streams 驱动程序连接到 MongoDB </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-java-config');" title="13.2.1. 使用基于 Java 的元数据注册 MongoClient 实例"> 13.2.1. 使用基于 Java 的元数据注册 MongoClient 实例 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-db-factory');" title="13.2.2. ReactiveMongoDatabaseFactory 接口"> 13.2.2. ReactiveMongoDatabaseFactory 接口 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-db-factory-java');" title="13.2.3. 使用基于 Java 的元数据注册 ReactiveMongoDatabaseFactory 实例"> 13.2.3. 使用基于 Java 的元数据注册 ReactiveMongoDatabaseFactory 实例 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template');" title="13.3. ReactiveMongoTemplate 简介"> 13.3. ReactiveMongoTemplate 简介 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.instantiating');" title="13.3.1. 实例化 ReactiveMongoTemplate"> 13.3.1. 实例化 ReactiveMongoTemplate </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeresultchecking');" title="13.3.2. WriteResultCheckingPolicy"> 13.3.2. WriteResultCheckingPolicy </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeconcern');" title="13.3.3. WriteConcern"> 13.3.3. WriteConcern </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeconcernresolver');" title="13.3.4. WriteConcernResolver"> 13.3.4. WriteConcernResolver </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.save-update-remove');" title="13.4. 保存，更新和删除文档"> 13.4. 保存，更新和删除文档 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.executioncallback');" title="13.5. 执行回调"> 13.5. 执行回调 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#reactive.gridfs');" title="13.6. GridFS 支持"> 13.6. GridFS 支持 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.repositories');" title="14. MongoDB Repositories"> 14. MongoDB Repositories </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-repo-intro');" title="14.1. Introduction"> 14.1. Introduction </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-repo-usage');" title="14.2. Usage"> 14.2. Usage </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries');" title="14.3. 查询方法"> 14.3. 查询方法 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.delete');" title="14.3.1. Repositories 删除查询"> 14.3.1. Repositories 删除查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.geo-spatial');" title="14.3.2. 地理空间存储库查询"> 14.3.2. 地理空间存储库查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.json-based');" title="14.3.3. MongoDB 基于 JSON 的查询方法和字段限制"> 14.3.3. MongoDB 基于 JSON 的查询方法和字段限制 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.sort');" title="14.3.4. 排序查询方法结果"> 14.3.4. 排序查询方法结果 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.json-spel');" title="14.3.5. 具有 SpEL 表达式的基于 JSON 的查询"> 14.3.5. 具有 SpEL 表达式的基于 JSON 的查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.type-safe');" title="14.3.6. 类型安全的查询方法"> 14.3.6. 类型安全的查询方法 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.full-text');" title="14.3.7. 全文搜索查询"> 14.3.7. 全文搜索查询 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections');" title="14.3.8. Projections"> 14.3.8. Projections </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections.interfaces');" title="Interface-based Projections"> Interface-based Projections </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections.dtos');" title="基于类的投影(DTO)"> 基于类的投影(DTO) </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projection.dynamic');" title="Dynamic Projections"> Dynamic Projections </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.aggregation');" title="14.3.9. 聚合存储库方法"> 14.3.9. 聚合存储库方法 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.misc.cdi-integration');" title="14.4. CDI 集成"> 14.4. CDI 集成 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories');" title="15. ReactiveMongoDB 存储库"> 15. ReactiveMongoDB 存储库 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.libraries');" title="15.1. Reactive 合成库"> 15.1. Reactive 合成库 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.usage');" title="15.2. Usage"> 15.2. Usage </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.features');" title="15.3. Features"> 15.3. Features </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.reactive.repositories.queries.geo-spatial');" title="15.3.1. 地理空间存储库查询"> 15.3.1. 地理空间存储库查询 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.reactive.repositories.queries.type-safe');" title="15.3.2. 类型安全的查询方法"> 15.3.2. 类型安全的查询方法 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing');" title="16. Auditing"> 16. Auditing </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.basics');" title="16.1. Basics"> 16.1. Basics </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.annotations');" title="16.1.1. 基于 Comments 的审核元数据"> 16.1.1. 基于 Comments 的审核元数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.interfaces');" title="16.1.2. 基于接口的审核元数据"> 16.1.2. 基于接口的审核元数据 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.auditor-aware');" title="16.1.3. AuditorAware"> 16.1.3. AuditorAware </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.auditing');" title="16.2. MongoDB 的常规审核配置"> 16.2. MongoDB 的常规审核配置 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-chapter');" title="17. Mapping"> 17. Mapping </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.fundamentals');" title="17.1. 对象 Map 基础"> 17.1. 对象 Map 基础 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.object-creation');" title="17.1.1. 创建对象"> 17.1.1. 创建对象 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.property-population');" title="17.1.2. 房地产人口"> 17.1.2. 房地产人口 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="17.1.3. 一般建议"> 17.1.3. 一般建议 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.kotlin');" title="17.1.4. Kotlin 支持"> 17.1.4. Kotlin 支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Kotlin 对象创建"> Kotlin 对象创建 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Kotlin 数据类别的属性人口"> Kotlin 数据类别的属性人口 </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-conventions');" title="17.2. 基于约定的 Map"> 17.2. 基于约定的 Map </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.conventions.id-field');" title="17.2.1. 如何在 Map 层中处理_id 字段."> 17.2.1. 如何在 Map 层中处理_id 字段. </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-conversion');" title="17.3. 数据 Map 和类型转换"> 17.3. 数据 Map 和类型转换 </a> </li>
 <li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-configuration');" title="17.4. Map 配置"> 17.4. Map 配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage');" title="17.5. 基于元数据的 Map"> 17.5. 基于元数据的 Map </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-annotations');" title="17.5.1. MapComments 概述"> 17.5.1. MapComments 概述 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-custom-object-construction');" title="17.5.2. 自定义对象构造"> 17.5.2. 自定义对象构造 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.compound-index');" title="17.5.3. 复合索引"> 17.5.3. 复合索引 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.hashed-index');" title="17.5.4. 哈希索引"> 17.5.4. 哈希索引 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.text-index');" title="17.5.5. Literals 索引"> 17.5.5. Literals 索引 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-references');" title="17.5.6. 使用 DBRef"> 17.5.6. 使用 DBRef </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-events');" title="17.5.7. Map 框架事件"> 17.5.7. Map 框架事件 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-explicit-converters');" title="17.5.8. 使用显式转换器覆盖 Map"> 17.5.8. 使用显式转换器覆盖 Map </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin');" title="18. Kotlin Support"> 18. Kotlin Support </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.requirements');" title="18.1. Requirements"> 18.1. Requirements </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.null-safety');" title="18.2. 空安全"> 18.2. 空安全 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.mapping');" title="18.3. 对象 Map"> 18.3. 对象 Map </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.extensions');" title="18.4. Extensions"> 18.4. Extensions </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines');" title="18.5. Coroutines"> 18.5. Coroutines </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines.dependencies');" title="18.5.1. Dependencies"> 18.5.1. Dependencies </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines.reactive');" title="18.5.2. 反应式如何转换为协同程序？"> 18.5.2. 反应式如何转换为协同程序？ </a> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.cross.store');" title="19. 跨 Store 支持"> 19. 跨 Store 支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb_cross-store-configuration');" title="19.1. 跨 Store 配置"> 19.1. 跨 Store 配置 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb_cross-store-application');" title="19.2. 编写跨 Store 应用程序"> 19.2. 编写跨 Store 应用程序 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jmx');" title="20. JMX support"> 20. JMX support </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb:jmx-configuration');" title="20.1. MongoDB JMX 配置"> 20.1. MongoDB JMX 配置 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3');" title="21. MongoDB 3.0 支持"> 21. MongoDB 3.0 支持 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="21.1. 将 Spring Data MongoDB 与 MongoDB 3.0 结合使用"> 21.1. 将 Spring Data MongoDB 与 MongoDB 3.0 结合使用 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.configuration');" title="21.1.1. 配置选项"> 21.1.1. 配置选项 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.write-concern');" title="21.1.2. WriteConcern 和 WriteConcernChecking"> 21.1.2. WriteConcern 和 WriteConcernChecking </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.authentication');" title="21.1.3. Authentication"> 21.1.3. Authentication </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation');" title="21.1.4. 服务器端验证"> 21.1.4. 服务器端验证 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation.json-schema');" title="JSON 模式验证"> JSON 模式验证 </a> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation.query-expression');" title="查询表达式验证"> 查询表达式验证 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.misc');" title="21.1.5. 其他详细信息"> 21.1.5. 其他详细信息 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#appendix');" title="Appendix"> Appendix </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.namespace-reference');" title="附录 A：命名空间参考"> 附录 A：命名空间参考 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#populator.namespace-dao-config');" title="<repositories />元素"> &lt;repositories /&gt;元素 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#populator.namespace-reference');" title="附录 B：填充器名称空间参考"> 附录 B：填充器名称空间参考 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#namespace-dao-config');" title="<populator />元素"> &lt;populator /&gt;元素 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repository-query-keywords');" title="附录 C：存储库查询关键字"> 附录 C：存储库查询关键字 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="支持的查询关键字"> 支持的查询关键字 </a> </li>
</ul> </li>
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repository-query-return-types');" title="附录 D：Repositories 查询返回类型"> 附录 D：Repositories 查询返回类型 </a>
<ul class="articles">
<li class="chapter"> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="支持的查询返回类型"> 支持的查询返回类型 </a> </li>
</ul> </li>
</ul> </li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<header class="book-header">
<div class="dropdown pull-right js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-globe"></i>
</a>
<div class="dropdown-menu dropdown-left">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('zh_CN')">中文</button>
</div>
<div class="buttons">
<button class="button size-1" onclick="changeLang('en_US')">English</button>
</div>
</div>
</div>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign up" href="register.html">
<i class="fa fa-sign-in"></i> <span>注册</span>
</a>
<a class="btn pull-right js-toolbar-action non-mobile" aria-label="Sign in" href="register.html">
<i class="fa fa-sign-in"></i>
<span>登录</span>
</a>
<a class="btn pull-left js-toolbar-action btn-summary" href="#"><i class="fa fa-align-justify"></i></a>
<div class="dropdown pull-left font-settings js-toolbar-action">
<a class="btn toggle-dropdown" aria-label="Font Settings" href="#">
<i class="fa fa-font"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<button class="button size-2 font-reduce">A</button>
<button class="button size-2 font-enlarge">A</button>
</div>
<div class="buttons">
<button class="button size-2 family-serif">Serif</button>
<button class="button size-2 family-sans">Sans</button>
</div>
<div class="buttons">
<button class="button size-3 theme-white">White</button>
<button class="button size-3 theme-sepia">Sepia</button>
<button class="button size-3 theme-night">Night</button>
</div>
</div>
</div>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
<a class="btn pull-left js-toolbar-action non-mobile" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
<div class="dropdown pull-left js-toolbar-action mobile">
<a class="btn toggle-dropdown" aria-label="Language" href="#">
<i class="fa fa-chevron-down"></i>
</a>
<div class="dropdown-menu dropdown-right">
<div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div>
<div class="buttons">
<a class="button size-1" aria-label="Home" href="zh.html">
<i class="fa fa-home"></i> <span>首页</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Guide" href="javascript:window.open('https://www.javadoc.org/');">
<i class="fa fa-book"></i> <span>API Docs</span>
</a>
</div>
<div class="buttons">
<a class="button size-1" aria-label="Tools" href="index1.html">
<i class="fa fa-gears"></i> <span>工具</span>
</a>
</div>
</div>
</div>
<div id="autocomplete" class="pull-right"></div>
<span id="toolbar-title"></span>
</header>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal markdown-section">
<div id="content">
<h1>Spring Data MongoDB</h1>
<div><ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-6108808167664152" data-ad-slot="6964403648"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<div><div class="divider">
<span class="divider-inner-text">Table of Contents</span>
</div>
<ul class="toc">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#preface');" title="Preface"> Preface </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:first-steps:spring');" title="1. Learning Spring"> 1. Learning Spring </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:first-steps:nosql');" title="2. 学习 NoSQL 和文档数据库"> 2. 学习 NoSQL 和文档数据库 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#requirements');" title="3. Requirements"> 3. Requirements </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:help');" title="4. 其他帮助资源"> 4. 其他帮助资源 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#get-started:up-to-date');" title="5. Following Development"> 5. Following Development </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features');" title="6. 新的和值得注意的"> 6. 新的和值得注意的 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-2-0');" title="6.1. Spring Data MongoDB 2.2 的新增功能"> 6.1. Spring Data MongoDB 2.2 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-1-0');" title="6.2. Spring Data MongoDB 2.1 的新增功能"> 6.2. Spring Data MongoDB 2.1 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.2-0-0');" title="6.3. Spring Data MongoDB 2.0 的新增功能"> 6.3. Spring Data MongoDB 2.0 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-10-0');" title="6.4. Spring Data MongoDB 1.10 的新增功能"> 6.4. Spring Data MongoDB 1.10 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-9-0');" title="6.5. Spring Data MongoDB 1.9 的新增功能"> 6.5. Spring Data MongoDB 1.9 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-8-0');" title="6.6. Spring Data MongoDB 1.8 的新增功能"> 6.6. Spring Data MongoDB 1.8 的新增功能 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#new-features.1-7-0');" title="6.7. Spring Data MongoDB 1.7 的新增功能"> 6.7. Spring Data MongoDB 1.7 的新增功能 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies');" title="7. Dependencies"> 7. Dependencies </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies.spring-boot');" title="7.1. Spring Boot 的依赖 Management"> 7.1. Spring Boot 的依赖 Management </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#dependencies.spring-framework');" title="7.2. Spring 框架"> 7.2. Spring 框架 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories');" title="8. 使用 Spring 数据存储库"> 8. 使用 Spring 数据存储库 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.core-concepts');" title="8.1. 核心概念"> 8.1. 核心概念 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods');" title="8.2. 查询方法"> 8.2. 查询方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.definition');" title="8.3. 定义存储库接口"> 8.3. 定义存储库接口 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.definition-tuning');" title="8.3.1. 调整存储库定义"> 8.3.1. 调整存储库定义 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.multiple-modules');" title="8.3.2. 将存储库与多个 Spring 数据模块一起使用"> 8.3.2. 将存储库与多个 Spring 数据模块一起使用 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.details');" title="8.4. 定义查询方法"> 8.4. 定义查询方法 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-lookup-strategies');" title="8.4.1. 查询查询策略"> 8.4.1. 查询查询策略 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-creation');" title="8.4.2. 查询创建"> 8.4.2. 查询创建 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-methods.query-property-expressions');" title="8.4.3. 属性表达式"> 8.4.3. 属性表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.special-parameters');" title="8.4.4. 特殊参数处理"> 8.4.4. 特殊参数处理 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.paging-and-sorting');" title="分页和排序"> 分页和排序 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.limit-query-result');" title="8.4.5. 限制查询结果"> 8.4.5. 限制查询结果 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables');" title="8.4.6. 存储库方法返回集合或可迭代对象"> 8.4.6. 存储库方法返回集合或可迭代对象 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.streamable');" title="使用 Streamable 作为查询方法返回类型"> 使用 Streamable 作为查询方法返回类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.streamable-wrapper');" title="返回自定义流式包装器类型"> 返回自定义流式包装器类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.collections-and-iterables.vavr');" title="支持 Vavr 收藏"> 支持 Vavr 收藏 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability');" title="8.4.7. 存储库方法的空处理"> 8.4.7. 存储库方法的空处理 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability.annotations');" title="Nullability Annotations"> Nullability Annotations </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.nullability.kotlin');" title="基于 Kotlin 的存储库中的可空性"> 基于 Kotlin 的存储库中的可空性 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-streaming');" title="8.4.8. 流式查询结果"> 8.4.8. 流式查询结果 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.query-async');" title="8.4.9. 异步查询结果"> 8.4.9. 异步查询结果 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances');" title="8.5. 创建存储库实例"> 8.5. 创建存储库实例 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.spring');" title="8.5.1. XML 配置"> 8.5.1. XML 配置 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Using filters"> Using filters </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.java-config');" title="8.5.2. JavaConfig"> 8.5.2. JavaConfig </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.create-instances.standalone');" title="8.5.3. 独立使用"> 8.5.3. 独立使用 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.custom-implementations');" title="8.6. Spring 数据存储库的定制实现"> 8.6. Spring 数据存储库的定制实现 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.single-repository-behavior');" title="8.6.1. 自定义单个存储库"> 8.6.1. 自定义单个存储库 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Configuration"> Configuration </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.customize-base-repository');" title="8.6.2. 自定义基础存储库"> 8.6.2. 自定义基础存储库 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.domain-events');" title="8.7. 从汇总根发布事件"> 8.7. 从汇总根发布事件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.extensions');" title="8.8. Spring 数据扩展"> 8.8. Spring 数据扩展 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.extensions.querydsl');" title="8.8.1. Querydsl 扩展"> 8.8.1. Querydsl 扩展 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web');" title="8.8.2. 网络支持"> 8.8.2. 网络支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.basic');" title="基本网络支持"> 基本网络支持 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.pageables');" title="超媒体对页面的支持"> 超媒体对页面的支持 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.binding');" title="Web 数据绑定支持"> Web 数据绑定支持 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.web.type-safe');" title="Querydsl Web 支持"> Querydsl Web 支持 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#core.repository-populators');" title="8.8.3. 存储库填充器"> 8.8.3. 存储库填充器 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#reference');" title="Reference Documentation"> Reference Documentation </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#introduction');" title="9. Introduction"> 9. Introduction </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="9.1. 文件结构"> 9.1. 文件结构 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.core');" title="10. MongoDB support"> 10. MongoDB support </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-getting-started');" title="10.1. 使用入门"> 10.1. 使用入门 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.examples-repo');" title="10.2. 示例存储库"> 10.2. 示例存储库 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-connectors');" title="10.3. 使用 Spring 连接到 MongoDB"> 10.3. 使用 Spring 连接到 MongoDB </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-java-config');" title="10.3.1. 使用基于 Java 的元数据注册 Mongo 实例"> 10.3.1. 使用基于 Java 的元数据注册 Mongo 实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-xml-config');" title="10.3.2. 使用基于 XML 的元数据注册 Mongo 实例"> 10.3.2. 使用基于 XML 的元数据注册 Mongo 实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory');" title="10.3.3. MongoDbFactory 界面"> 10.3.3. MongoDbFactory 界面 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory-java');" title="10.3.4. 使用基于 Java 的元数据注册 MongoDbFactory 实例"> 10.3.4. 使用基于 Java 的元数据注册 MongoDbFactory 实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-db-factory-xml');" title="10.3.5. 使用基于 XML 的元数据注册 MongoDbFactory 实例"> 10.3.5. 使用基于 XML 的元数据注册 MongoDbFactory 实例 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template');" title="10.4. MongoTemplate 简介"> 10.4. MongoTemplate 简介 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.instantiating');" title="10.4.1. 实例化 MongoTemplate"> 10.4.1. 实例化 MongoTemplate </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeresultchecking');" title="10.4.2. WriteResultCheckingPolicy"> 10.4.2. WriteResultCheckingPolicy </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeconcern');" title="10.4.3. WriteConcern"> 10.4.3. WriteConcern </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.writeconcernresolver');" title="10.4.4. WriteConcernResolver"> 10.4.4. WriteConcernResolver </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-update-remove');" title="10.5. 保存，更新和删除文档"> 10.5. 保存，更新和删除文档 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.id-handling');" title="10.5.1. 如何在 Map 层中处理_id 字段"> 10.5.1. 如何在 Map 层中处理_id 字段 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.type-mapping');" title="10.5.2. 类型 Map"> 10.5.2. 类型 Map </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="自定义类型 Map"> 自定义类型 Map </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="配置自定义类型 Map"> 配置自定义类型 Map </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert');" title="10.5.3. 保存和插入文档的方法"> 10.5.3. 保存和插入文档的方法 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.collection');" title="我的文档保存到哪个收藏集中？"> 我的文档保存到哪个收藏集中？ </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.individual');" title="插入或保存单个对象"> 插入或保存单个对象 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.save-insert.batch');" title="批量插入多个对象"> 批量插入多个对象 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update');" title="10.5.4. 更新集合中的文档"> 10.5.4. 更新集合中的文档 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update.methods');" title="执行文档更新的方法"> 执行文档更新的方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-update.update');" title="Update 类中的方法"> Update 类中的方法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.upserts');" title="10.5.5. 集合中的“上载”文档"> 10.5.5. 集合中的“上载”文档 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.find-and-upsert');" title="10.5.6. 查找和上载集合中的文档"> 10.5.6. 查找和上载集合中的文档 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.find-and-replace');" title="10.5.7. 查找和替换文档"> 10.5.7. 查找和替换文档 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.delete');" title="10.5.8. 删除文件的方法"> 10.5.8. 删除文件的方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.optimistic-locking');" title="10.5.9. 乐观锁定"> 10.5.9. 乐观锁定 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query');" title="10.6. 查询文件"> 10.6. 查询文件 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query');" title="10.6.1. 查询集合中的文档"> 10.6.1. 查询集合中的文档 </a>
<ul class="articles">
 <li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query.criteria');" title="条件类的方法"> 条件类的方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-template-query.query');" title="Query 类的方法"> Query 类的方法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.querying');" title="10.6.2. 查询文件的方法"> 10.6.2. 查询文件的方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.query.distinct');" title="10.6.3. 查询不同的值"> 10.6.3. 查询不同的值 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geospatial');" title="10.6.4. 地理空间查询"> 10.6.4. 地理空间查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geo-near');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.geo-json');" title="10.6.5. GeoJSON 支持"> 10.6.5. GeoJSON 支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="域类中的 GeoJSON 类型"> 域类中的 GeoJSON 类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="存储库查询方法中的 GeoJSON 类型"> 存储库查询方法中的 GeoJSON 类型 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="度量和距离计算"> 度量和距离计算 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.textsearch');" title="10.6.6. 全文查询"> 10.6.6. 全文查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Full-text Search"> Full-text Search </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.collation');" title="10.6.7. Collations"> 10.6.7. Collations </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jsonSchema');" title="JSON Schema"> JSON Schema </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jsonSchema');" title="10.6.8. JSON 模式"> 10.6.8. JSON 模式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.fluent-template-api');" title="10.6.9. Fluent 模板 API"> 10.6.9. Fluent 模板 API </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.kotlin-support');" title="10.6.10. Kotlin 的类型安全查询"> 10.6.10. Kotlin 的类型安全查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.query.additional-query-options');" title="10.6.11. 其他查询选项"> 10.6.11. 其他查询选项 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example');" title="10.7. 通过示例查询"> 10.7. 通过示例查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.introduction');" title="10.7.1. Introduction"> 10.7.1. Introduction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.usage');" title="10.7.2. Usage"> 10.7.2. Usage </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.matchers');" title="10.7.3. 匹配器示例"> 10.7.3. 匹配器示例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.execution');" title="10.7.4. 运行示例"> 10.7.4. 运行示例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#query-by-example.untyped');" title="10.7.5. 未 Importing 示例"> 10.7.5. 未 Importing 示例 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mapreduce');" title="10.8. Map-Reduce 操作"> 10.8. Map-Reduce 操作 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mapreduce.example');" title="10.8.1. 示例用法"> 10.8.1. 示例用法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.server-side-scripts');" title="10.9. 脚本操作"> 10.9. 脚本操作 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.group');" title="10.10. 组操作"> 10.10. 组操作 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.group.example');" title="10.10.1. 示例用法"> 10.10.1. 示例用法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation');" title="10.11. 聚合框架支持"> 10.11. 聚合框架支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.basic-concepts');" title="10.11.1. 基本概念"> 10.11.1. 基本概念 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.supported-aggregation-operations');" title="10.11.2. 支持的聚合操作"> 10.11.2. 支持的聚合操作 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.projection');" title="10.11.3. 投影表达式"> 10.11.3. 投影表达式 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.facet');" title="10.11.4. 分面分类"> 10.11.4. 分面分类 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Buckets"> Buckets </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Multi-faceted Aggregation"> Multi-faceted Aggregation </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.sort-by-count');" title="按计数排序"> 按计数排序 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.projection.expressions');" title="投影表达式中的 Spring 表达式支持"> 投影表达式中的 Spring 表达式支持 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.aggregation.examples');" title="聚合框架示例"> 聚合框架示例 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters');" title="10.11.5. 自定义转化-覆盖默认 Map"> 10.11.5. 自定义转化-覆盖默认 Map </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.writer');" title="使用注册的 Spring Converter 进行保存"> 使用注册的 Spring Converter 进行保存 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.reader');" title="使用 Spring 转换器阅读"> 使用 Spring 转换器阅读 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.custom-converters.xml');" title="在 MongoConverter 中注册 Spring 转换器"> 在 MongoConverter 中注册 Spring 转换器 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.converter-disambiguation');" title="Converter Disambiguation"> Converter Disambiguation </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections');" title="10.12. 索引和 collectionsManagement"> 10.12. 索引和 collectionsManagement </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.index');" title="10.12.1. 创建索引的方法"> 10.12.1. 创建索引的方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.access');" title="10.12.2. 访问索引信息"> 10.12.2. 访问索引信息 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.index-and-collections.collection');" title="10.12.3. 处理集合的方法"> 10.12.3. 处理集合的方法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.commands');" title="10.13. 执行命令"> 10.13. 执行命令 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-template.commands.execution');" title="10.13.1. 执行命令的方法"> 10.13.1. 执行命令的方法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.mapping-usage.events');" title="10.14. 生命周期事件"> 10.14. 生命周期事件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks');" title="10.15. 实体回调"> 10.15. 实体回调 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks.implement');" title="10.15.1. 实施实体回调"> 10.15.1. 实施实体回调 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#entity-callbacks.register');" title="10.15.2. 注册实体回调"> 10.15.2. 注册实体回调 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.entity-callbacks');" title="10.15.3. 存储特定的 EntityCallbacks"> 10.15.3. 存储特定的 EntityCallbacks </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.exception');" title="10.16. 异常翻译"> 10.16. 异常翻译 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.executioncallback');" title="10.17. 执行回调"> 10.17. 执行回调 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#gridfs');" title="10.18. GridFS 支持"> 10.18. GridFS 支持 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors');" title="10.19. 带有尾光标的无限流"> 10.19. 带有尾光标的无限流 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors.sync');" title="10.19.1. 具有 MessageListener 的可尾光标"> 10.19.1. 具有 MessageListener 的可尾光标 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#tailable-cursors.reactive');" title="10.19.2. 无功可控游标"> 10.19.2. 无功可控游标 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#change-streams');" title="10.20. 更改流"> 10.20. 更改流 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.1. 使用 MessageListener 更改流"> 10.20.1. 使用 MessageListener 更改流 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.2. 反应式变更流"> 10.20.2. 反应式变更流 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="10.20.3. 恢复更改流"> 10.20.3. 恢复更改流 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions');" title="11. MongoDB Sessions"> 11. MongoDB Sessions </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions.sync');" title="11.1. 同步 ClientSession 支持."> 11.1. 同步 ClientSession 支持. </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.sessions.reactive');" title="11.2. ReactiveClientSession 支持"> 11.2. ReactiveClientSession 支持 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions');" title="12. MongoDB Transactions"> 12. MongoDB Transactions </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.transaction-template');" title="12.1. 使用 TransactionTemplate 进行的 Transaction"> 12.1. 使用 TransactionTemplate 进行的 Transaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.tx-manager');" title="12.2. MongoTransactionManager 的 Transaction"> 12.2. MongoTransactionManager 的 Transaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive');" title="12.3. ReactiveTransaction"> 12.3. ReactiveTransaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive-operator');" title="12.4. 与 TransactionalOperator 的 Transaction"> 12.4. 与 TransactionalOperator 的 Transaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.reactive-tx-manager');" title="12.5. 使用 ReactiveMongoTransactionManager 进行的 Transaction"> 12.5. 使用 ReactiveMongoTransactionManager 进行的 Transaction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.transactions.behavior');" title="12.6. Transaction 中的特殊行为"> 12.6. Transaction 中的特殊行为 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive');" title="13. ReactiveMongoDB 支持"> 13. ReactiveMongoDB 支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb-reactive-getting-started');" title="13.1. 使用入门"> 13.1. 使用入门 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.driver');" title="13.2. 使用 Spring 和 Reactive Streams 驱动程序连接到 MongoDB"> 13.2. 使用 Spring 和 Reactive Streams 驱动程序连接到 MongoDB </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-java-config');" title="13.2.1. 使用基于 Java 的元数据注册 MongoClient 实例"> 13.2.1. 使用基于 Java 的元数据注册 MongoClient 实例 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-db-factory');" title="13.2.2. ReactiveMongoDatabaseFactory 接口"> 13.2.2. ReactiveMongoDatabaseFactory 接口 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.mongo-db-factory-java');" title="13.2.3. 使用基于 Java 的元数据注册 ReactiveMongoDatabaseFactory 实例"> 13.2.3. 使用基于 Java 的元数据注册 ReactiveMongoDatabaseFactory 实例 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template');" title="13.3. ReactiveMongoTemplate 简介"> 13.3. ReactiveMongoTemplate 简介 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.instantiating');" title="13.3.1. 实例化 ReactiveMongoTemplate"> 13.3.1. 实例化 ReactiveMongoTemplate </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeresultchecking');" title="13.3.2. WriteResultCheckingPolicy"> 13.3.2. WriteResultCheckingPolicy </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeconcern');" title="13.3.3. WriteConcern"> 13.3.3. WriteConcern </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.writeconcernresolver');" title="13.3.4. WriteConcernResolver"> 13.3.4. WriteConcernResolver </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.template.save-update-remove');" title="13.4. 保存，更新和删除文档"> 13.4. 保存，更新和删除文档 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.executioncallback');" title="13.5. 执行回调"> 13.5. 执行回调 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#reactive.gridfs');" title="13.6. GridFS 支持"> 13.6. GridFS 支持 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.repositories');" title="14. MongoDB Repositories"> 14. MongoDB Repositories </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-repo-intro');" title="14.1. Introduction"> 14.1. Introduction </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo-repo-usage');" title="14.2. Usage"> 14.2. Usage </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries');" title="14.3. 查询方法"> 14.3. 查询方法 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.delete');" title="14.3.1. Repositories 删除查询"> 14.3.1. Repositories 删除查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.geo-spatial');" title="14.3.2. 地理空间存储库查询"> 14.3.2. 地理空间存储库查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.json-based');" title="14.3.3. MongoDB 基于 JSON 的查询方法和字段限制"> 14.3.3. MongoDB 基于 JSON 的查询方法和字段限制 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.sort');" title="14.3.4. 排序查询方法结果"> 14.3.4. 排序查询方法结果 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.json-spel');" title="14.3.5. 具有 SpEL 表达式的基于 JSON 的查询"> 14.3.5. 具有 SpEL 表达式的基于 JSON 的查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.type-safe');" title="14.3.6. 类型安全的查询方法"> 14.3.6. 类型安全的查询方法 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.full-text');" title="14.3.7. 全文搜索查询"> 14.3.7. 全文搜索查询 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections');" title="14.3.8. Projections"> 14.3.8. Projections </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections.interfaces');" title="Interface-based Projections"> Interface-based Projections </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projections.dtos');" title="基于类的投影(DTO)"> 基于类的投影(DTO) </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#projection.dynamic');" title="Dynamic Projections"> Dynamic Projections </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.queries.aggregation');" title="14.3.9. 聚合存储库方法"> 14.3.9. 聚合存储库方法 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.repositories.misc.cdi-integration');" title="14.4. CDI 集成"> 14.4. CDI 集成 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories');" title="15. ReactiveMongoDB 存储库"> 15. ReactiveMongoDB 存储库 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.libraries');" title="15.1. Reactive 合成库"> 15.1. Reactive 合成库 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.usage');" title="15.2. Usage"> 15.2. Usage </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.reactive.repositories.features');" title="15.3. Features"> 15.3. Features </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.reactive.repositories.queries.geo-spatial');" title="15.3.1. 地理空间存储库查询"> 15.3.1. 地理空间存储库查询 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Geo-near Queries"> Geo-near Queries </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb.reactive.repositories.queries.type-safe');" title="15.3.2. 类型安全的查询方法"> 15.3.2. 类型安全的查询方法 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing');" title="16. Auditing"> 16. Auditing </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.basics');" title="16.1. Basics"> 16.1. Basics </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.annotations');" title="16.1.1. 基于 Comments 的审核元数据"> 16.1.1. 基于 Comments 的审核元数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.interfaces');" title="16.1.2. 基于接口的审核元数据"> 16.1.2. 基于接口的审核元数据 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#auditing.auditor-aware');" title="16.1.3. AuditorAware"> 16.1.3. AuditorAware </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.auditing');" title="16.2. MongoDB 的常规审核配置"> 16.2. MongoDB 的常规审核配置 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-chapter');" title="17. Mapping"> 17. Mapping </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.fundamentals');" title="17.1. 对象 Map 基础"> 17.1. 对象 Map 基础 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.object-creation');" title="17.1.1. 创建对象"> 17.1.1. 创建对象 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.property-population');" title="17.1.2. 房地产人口"> 17.1.2. 房地产人口 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="17.1.3. 一般建议"> 17.1.3. 一般建议 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.kotlin');" title="17.1.4. Kotlin 支持"> 17.1.4. Kotlin 支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Kotlin 对象创建"> Kotlin 对象创建 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="Kotlin 数据类别的属性人口"> Kotlin 数据类别的属性人口 </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-conventions');" title="17.2. 基于约定的 Map"> 17.2. 基于约定的 Map </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping.conventions.id-field');" title="17.2.1. 如何在 Map 层中处理_id 字段."> 17.2.1. 如何在 Map 层中处理_id 字段. </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-conversion');" title="17.3. 数据 Map 和类型转换"> 17.3. 数据 Map 和类型转换 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-configuration');" title="17.4. Map 配置"> 17.4. Map 配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage');" title="17.5. 基于元数据的 Map"> 17.5. 基于元数据的 Map </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-annotations');" title="17.5.1. MapComments 概述"> 17.5.1. MapComments 概述 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-custom-object-construction');" title="17.5.2. 自定义对象构造"> 17.5.2. 自定义对象构造 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.compound-index');" title="17.5.3. 复合索引"> 17.5.3. 复合索引 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.hashed-index');" title="17.5.4. 哈希索引"> 17.5.4. 哈希索引 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-indexes.text-index');" title="17.5.5. Literals 索引"> 17.5.5. Literals 索引 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-references');" title="17.5.6. 使用 DBRef"> 17.5.6. 使用 DBRef </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-usage-events');" title="17.5.7. Map 框架事件"> 17.5.7. Map 框架事件 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mapping-explicit-converters');" title="17.5.8. 使用显式转换器覆盖 Map"> 17.5.8. 使用显式转换器覆盖 Map </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin');" title="18. Kotlin Support"> 18. Kotlin Support </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.requirements');" title="18.1. Requirements"> 18.1. Requirements </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.null-safety');" title="18.2. 空安全"> 18.2. 空安全 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.mapping');" title="18.3. 对象 Map"> 18.3. 对象 Map </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.extensions');" title="18.4. Extensions"> 18.4. Extensions </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines');" title="18.5. Coroutines"> 18.5. Coroutines </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines.dependencies');" title="18.5.1. Dependencies"> 18.5.1. Dependencies </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#kotlin.coroutines.reactive');" title="18.5.2. 反应式如何转换为协同程序？"> 18.5.2. 反应式如何转换为协同程序？ </a> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.cross.store');" title="19. 跨 Store 支持"> 19. 跨 Store 支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb_cross-store-configuration');" title="19.1. 跨 Store 配置"> 19.1. 跨 Store 配置 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb_cross-store-application');" title="19.2. 编写跨 Store 应用程序"> 19.2. 编写跨 Store 应用程序 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.jmx');" title="20. JMX support"> 20. JMX support </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongodb:jmx-configuration');" title="20.1. MongoDB JMX 配置"> 20.1. MongoDB JMX 配置 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3');" title="21. MongoDB 3.0 支持"> 21. MongoDB 3.0 支持 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="21.1. 将 Spring Data MongoDB 与 MongoDB 3.0 结合使用"> 21.1. 将 Spring Data MongoDB 与 MongoDB 3.0 结合使用 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.configuration');" title="21.1.1. 配置选项"> 21.1.1. 配置选项 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.write-concern');" title="21.1.2. WriteConcern 和 WriteConcernChecking"> 21.1.2. WriteConcern 和 WriteConcernChecking </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.authentication');" title="21.1.3. Authentication"> 21.1.3. Authentication </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation');" title="21.1.4. 服务器端验证"> 21.1.4. 服务器端验证 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation.json-schema');" title="JSON 模式验证"> JSON 模式验证 </a> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.validation.query-expression');" title="查询表达式验证"> 查询表达式验证 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#mongo.mongo-3.misc');" title="21.1.5. 其他详细信息"> 21.1.5. 其他详细信息 </a> </li>
</ul> </li>
</ul> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#appendix');" title="Appendix"> Appendix </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repositories.namespace-reference');" title="附录 A：命名空间参考"> 附录 A：命名空间参考 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#populator.namespace-dao-config');" title="<repositories />元素"> &lt;repositories /&gt;元素 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#populator.namespace-reference');" title="附录 B：填充器名称空间参考"> 附录 B：填充器名称空间参考 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#namespace-dao-config');" title="<populator />元素"> &lt;populator /&gt;元素 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repository-query-keywords');" title="附录 C：存储库查询关键字"> 附录 C：存储库查询关键字 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="支持的查询关键字"> 支持的查询关键字 </a> </li>
</ul> </li>
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#repository-query-return-types');" title="附录 D：Repositories 查询返回类型"> 附录 D：Repositories 查询返回类型 </a>
<ul class="articles">
<li> <a href="javascript:window.open('https://www.docs4dev.com/docs/zh/spring-data-mongodb/2.2.1.RELEASE/reference/all.html#');" title="支持的查询返回类型"> 支持的查询返回类型 </a> </li>
</ul> </li>
</ul> </li>
</ul></div>
</div>
</section>
<div class="right-sidebar">
<div class="affix"><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6108808167664152" data-ad-slot="3102929424" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
</div>
<div class="ft">
<a href="#toolbar-title" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a>
<footer class="footer">
<div class="footer__container--normal">
<img alt="扫码关注公众号" title="扫码关注公众号" src="static/picture/qr-code.png" width="170" height="170">
<div class="footer__description--normal">
<p class="paragraph footer__author--normal">Docs4dev<sup class="super">&#xAE;</sup>
</p>
<p class="paragraph footer__quote&#45;&#45;normal">
如果你在使用过程中遇到任何问题，可以在 <a href="javascript:window.open('https://github.com/docs4dev/docs4dev-issues');" target="_blank" rel="noopener noreferrer">这里<i class="fa fa-external-link"></i></a> 提issue。
</p>
<div class="footer__main--normal">
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
<a href="javascript:window.open('https://beian.miit.gov.cn/');">
蜀ICP备14021783号-6
</a>
</p>
<p class="paragraph footer__main__paragraph--normal copyright" style="color: #666 !important;">
Copyright &#xA9; Docs4dev all
right reserved, powered by <a href="index2.html" target="_blank">Docs4dev</a></p>
</div>
</div>
</div>
<div class="box__issues">
</div>
</footer>
</div>
</div>
</div>
</div>
</div>
<script>
  var hasToc = true;
  /*  var downloadable = /!*false*!/ false;
    var editable = /!*false*!/ false;
    var code = /!*"spring-data-mongodb"*!/ false;
    var version = /!*"2.2.1.RELEASE"*!/ false;
    var type = /!*"reference"*!/ false;
    var lang = /!*"zh"*!/ 'en';
    //edit link
    require(["gitbook", "jQuery"], function (gitbook, $) {
      gitbook.events.bind('start', function (e, config) {
        // Add edit toolbar to left
        var chapterId = /!*16339*!/ 0;
        if (downloadable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-download',
            text: '下载',
            onClick: function () {
              window.open('/download?code=' + code + '&version=' + version + '&type=' + type + '&lang=' + lang);
            }
          });
        }
        if (editable) {
          gitbook.toolbar.createButton({
            icon: 'fa fa-edit',
            text: '编辑此页',
            onClick: function () {
              window.open('/docs/edit?chapterId=' + chapterId + '&lang=' + lang);
            }
          });
        }
      });
    });*/
</script>
<script>
    var code = "spring-data-mongodb";
    var lang = "zh";
  </script>

<script src="static/js/autocomplete-js.js"></script>
<script src="static/js/app.min.js"></script>
<script src="static/js/search.min.js"></script>
</body>
</html>
